<?php
/**
 * AboutController is for all about and help.
 * 
 * Bocheng Chen, 18.07.2012
 * 
 * LBB Solutions Oy 版权所有 @ 2012
 */
class AboutController extends Controller
{
	public $layout='//layouts/column2';
	public $menu = array(
		array('label' => 'About', 'url'=>array('index')),
		array('label' => 'Privacy', 'url'=>array('privacy')),
		array('label' => 'Terms', 'url'=>array('terms')),
		array('label' => 'Help', 'url'=>array('help')),
	);

	public function actionIndex()
	{
		$this->render('index');
	}

	public function actionPrivacy()
	{
		$this->render('privacy');
	}

	public function actionTerms()
	{
		$this->render('terms');
	}
	
	public function actionHelp()
	{
		$this->render('help');
	}

	// Uncomment the following methods and override them if needed
	/*
	public function filters()
	{
		// return the filter configuration for this controller, e.g.:
		return array(
			'inlineFilterName',
			array(
				'class'=>'path.to.FilterClass',
				'propertyName'=>'propertyValue',
			),
		);
	}

	public function actions()
	{
		// return external action classes, e.g.:
		return array(
			'action1'=>'path.to.ActionClass',
			'action2'=>array(
				'class'=>'path.to.AnotherActionClass',
				'propertyName'=>'propertyValue',
			),
		);
	}
	*/
}